package com.ndp.fb.model.rdb;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by sisi.chen on 2016/4/20.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("audience_manager")
public class AudienceManager implements Serializable {
    @Id
    private Long id;

    @Column(value = "user_id")
    private String userId;

    @Column(value = "fb_account_id")
    private Long fbAccountId;

    @Column(value = "we_feed_id")
    private Long weFeedId;

    @Column(value = "product_catalog_id")
    private Long productCatalogId;

    @Column(value = "product_set_id")
    private String productSetId;

    @Column(value = "name")
    private String name;

    @Column(value = "description")
    private String description;

    @Column(value = "local_targeting")
    private String localTargeting;

    @Column(value = "fb_targeting")
    private String fbTargeting;

    @Column(value = "potential_user")
    private Long potentialUser;

    @Column(value = "update_time")
    private Long updateTime;

    @Column(value = "create_time")
    private Long createTime;

    @Column(value = "is_delete")
    private Integer isDelete;

    @Column(value = "account_name")
    private String accountName;
}
